import React,{Component} from 'react'
import {Row,Col} from 'antd'
import './style/common.less'
import Header from './components/Header'
import Footer from './components/Footer'

export default class Common extends Component {
    render(){
        return (
            <div>
                <Row className="container">
                    <Col span={24} className="main">
                        <Row className="simple-page">
                            <Header menuType="second"/>
                        </Row>
                        <Row className="content">
                            {this.props.children}
                        </Row>
                        <Footer/>
                    </Col>
                </Row>
            </div>
        )
    }
}